package entity;

import java.util.Set;

public class Street {

	private Integer id;
	private String name;
	private District district;
	
	private Set<House> streetSet;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public District getDistrict() {
		return district;
	}

	public void setDistrict(District district) {
		this.district = district;
	}

	public Set<House> getStreetSet() {
		return streetSet;
	}

	public void setStreetSet(Set<House> streetSet) {
		this.streetSet = streetSet;
	}

	@Override
	public String toString() {
		return "Street [id=" + id + ", name=" + name + ", district=" + district + ", streetSet=" + streetSet + "]";
	}

	
	
}
